//
//  JSMLeavingScrollModel.m
//  TakeYouTourTogether
//
//  Created by dllo on 15/11/30.
//  Copyright © 2015年 king. All rights reserved.
//

#import "JSMLeavingScrollModel.h"

@implementation JSMLeavingScrollModel
- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    self = [super init];
    if (self) {
        self.url = [aDecoder decodeObjectForKey:@"url"];
        self.photo = [aDecoder decodeObjectForKey:@"photo"];
        self.title = [aDecoder decodeObjectForKey:@"title"];
    }
    return self;
}

- (void)encodeWithCoder:(NSCoder *)aCoder {
    [aCoder encodeObject:self.url forKey:@"url"];
    [aCoder encodeObject:self.photo forKey:@"photo"];
    [aCoder encodeObject:self.title forKey:@"title"];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

@end
